package com.xinghanlaser.applet.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * 
 * @TableName delivery
 */

@Data
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "Delivery", description = "配送单信息")
@TableName(value ="delivery")
public class Delivery {

    @TableId(type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "序列号")
    private String serialno;

    @ApiModelProperty(value = "工单号")
    private String workorderno;

    @ApiModelProperty(value = "规格型号")
    private String spec;

    @ApiModelProperty(value = "客户名称")
    private String customername;

    @ApiModelProperty(value = "送货日期")
    private Date deliverytime;

    @ApiModelProperty(value = "状态")
    private String status;

    @ApiModelProperty(value = "创建时间")
    private Date createdtime;

    @ApiModelProperty(value = "创建用户")
    private String createduser;

    @ApiModelProperty(value = "机台号")
    private String machine;

    @ApiModelProperty(value = "备注")
    private String memo;
}